<template>
	<view class="">
		<image class="caty-img" src="https://xn-panda-test.oss-cn-hangzhou.aliyuncs.com/xiaochnegxu/%E8%90%A5%E6%98%95%E5%B1%85%E6%A1%8C%E9%9D%A2logo-03%201.png" mode=""></image>
		<h3>营昕居</h3>
		<h4>Version 2.2.0</h4>
		<view class="list-cell b-b m-t" @click="navTo('/package/set/skip?type=user')" hover-class="cell-hover" :hover-stay-time="50">
			<text class="cell-tit">用户协议</text>
			<text class="cell-more yticon icon-you"></text>
		</view>
		<view class="list-cell m-t" @click="navTo('/package/set/skip?type=privacy')">
			<text class="cell-tit">隐私协议</text>
			<text class="cell-more yticon icon-you"></text>
		</view>
	</view>
</template>
<script>
	export default{
		data(){ 
			return{
				
			}
		},
		methods:{
			navTo(url){
			  uni.navigateTo({
			  	url
			  })  
			}
		}
	}
</script>

<style lang="scss">
	.caty-img{
		width: 60%;
		margin-left: 20%;
		margin-top: 50rpx;
	}
	h3{
		display: block;
		text-align: center;
		font-weight: bold;
		color: #1D1D1D;
		font-size: 44rpx;
	}
	h4{
		display: block;
		text-align: center;
		font-weight: 500;
		color: #1D1D1D;
		font-size: 32rpx;
		margin-bottom: 110rpx;
		
	}
	.list-cell{
		display:flex;
		align-items:baseline;
		padding: 20upx $page-row-spacing;
		line-height:60upx;
		position:relative;
		background: #fff;
		justify-content: center;
		&.log-out-btn{
			margin-top: 40upx;
			.cell-tit{
				color: $uni-color-primary;
				text-align: center;
				margin-right: 0;
			}
		}
		&.cell-hover{
			background:#fafafa;
		}
		&.b-b:after{
			left: 30upx;
		}
		&.m-t{
			margin-top: 16upx; 
		}
		.cell-more{
			align-self: baseline;
			font-size:$font-lg;
			color:$font-color-light;
			margin-left:10upx;
		}
		.cell-tit{
			flex: 1;
			font-size: $font-base + 2upx;
			color: $font-color-dark;
			margin-right:10upx;
		}
		.cell-tip{
			font-size: $font-base;
			color: $font-color-light;
		}
		switch{
			transform: translateX(16upx) scale(.84);
		}
	}
</style>